package com.caldremch.calhttp.http.api;

import com.caldremch.calhttp.Splash;
import com.caldremch.calhttp.http.base.BaseResp;
import com.caldremch.calhttp.http.base.BaseRespData;
import com.caldremch.calhttp.http.bean.BaseReqData;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author Caldremch
 * @date 2018-01-19 14:50
 * @describe
 **/
public interface ApiService {

    //set the timeout value
    //set the server url
    @POST("SplashScreen/GetSplashScreen.json")
    Observable<BaseResp> getMain(@Body RequestBody body);



    //set the timeout value
    //set the server url
    @POST("SplashScreen/GetSplashScreen.json")
    Observable<BaseResp> getSplash(@Body RequestBody body);
}
